package org.my.business.service;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import org.my.common.mybatis.core.page.PageQuery;
import org.my.common.mybatis.core.page.TableDataInfo;
import org.my.business.domain.bo.DeviceBo;
import org.my.business.domain.vo.DeviceVo;
import org.my.system.domain.SysUser;

import java.util.HashMap;
import java.util.List;

public interface IDeviceService {

    /**
     * 查询设备列表
     * @param user
     * @param pageQuery
     * @return
     */
    List<DeviceVo> selectPageDeviceList(DeviceBo user, PageQuery pageQuery);

    /**
     * 机台运行状态数量统计
     * @param device
     * @return
     */
    HashMap<String,Object> staNum(DeviceBo device);

    /**
     * 员工、客户搜索下拉框内容
     * @param user
     * @return
     */

    List<HashMap<String, Object>> userList(SysUser user);

    /**
     * 单个设备详情
     * @param dev
     * @return
     */
    DeviceVo selectOneDev(DeviceBo dev);
}
